﻿// -----------------------------------------------------------------------
// <copyright file="ProjectStatusService.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
using System.Collections.Generic;

using TMS.ProjectService;
using TMS.ProjectServiceImplement.DAL;
using TMS.ProjectServiceModel;

namespace TMS.ProjectServiceImplement
{

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class ProjectStatusService : IProjectStatusService
    {
        public List<PublishStatus> GetAllProjectStatus(int id)
        {
            return ProjectPublishStatusDAL.GetAllProjectStatus(id);
        }

        public ProjectServiceModel.PublishStatus Insert(ProjectServiceModel.PublishStatus status)
        {
            return ProjectPublishStatusDAL.Insert(status);
        }

        public void Delete(int id)
        {
            ProjectPublishStatusDAL.Delete(id);
        }
    }
}
